\hypertarget{classchat_window}{
\section{chat\-Window \-Class \-Reference}
\label{classchat_window}\index{chat\-Window@{chat\-Window}}
}


\-The \hyperlink{classchat_window}{chat\-Window} helper methods.  




{\ttfamily \#include $<$chatwindow.\-h$>$}

\subsection*{\-Signals}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classchat_window_a1ed506729bd803adf6771814dd2cca64}{message\-Sent} (\-Q\-String, \-Q\-String, \-Q\-String, \-Q\-String)
\begin{DoxyCompactList}\small\item\em \-Signal that sends the message. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classchat_window_a103ce347a4bb6fab382f1cca06c39f1d}{
\hyperlink{classchat_window_a103ce347a4bb6fab382f1cca06c39f1d}{chat\-Window} (\-Q\-Widget $\ast$parent=0)}
\label{classchat_window_a103ce347a4bb6fab382f1cca06c39f1d}

\begin{DoxyCompactList}\small\item\em \-Constructor method for \hyperlink{classchat_window}{chat\-Window}. \end{DoxyCompactList}\item 
\hypertarget{classchat_window_a75e3fbcc81b226118c125c999f04e644}{
\hyperlink{classchat_window_a75e3fbcc81b226118c125c999f04e644}{$\sim$chat\-Window} ()}
\label{classchat_window_a75e3fbcc81b226118c125c999f04e644}

\begin{DoxyCompactList}\small\item\em \-Deconstructor for \hyperlink{classchat_window}{chat\-Window}. \end{DoxyCompactList}\item 
void \hyperlink{classchat_window_a52a956b9b93fcd65d7addd2c66345983}{setfrom\-User} (\-Q\-String)
\begin{DoxyCompactList}\small\item\em \-Method that sets the from user attribute. \end{DoxyCompactList}\item 
void \hyperlink{classchat_window_a982f117c47864e0fe3cc3bd61032fe4b}{set\-To\-User} (\-Q\-String)
\begin{DoxyCompactList}\small\item\em \-Method that sets the to user attribute. \end{DoxyCompactList}\item 
\-Q\-String \hyperlink{classchat_window_a0cc2ee4af6d8408d3e1d2382bc8ee0de}{get\-To\-User} ()
\begin{DoxyCompactList}\small\item\em \-Method that gets the to user information. \end{DoxyCompactList}\item 
\-Q\-String \hyperlink{classchat_window_a05f81085133d6bcf825ee466512e25a7}{get\-From\-User} ()
\begin{DoxyCompactList}\small\item\em \-Method that gets the from user information. \end{DoxyCompactList}\item 
\-Q\-String \hyperlink{classchat_window_abc9d08c2a56665988fa5003d91ebad16}{get\-Os\-Type} ()
\begin{DoxyCompactList}\small\item\em \-Method that gets the operating system information from the user. \end{DoxyCompactList}\item 
void \hyperlink{classchat_window_a782ec79ac1f496c74958d7cab7d3aa1b}{receive\-Message} (\-Q\-String, \-Q\-String, \-Q\-String)
\begin{DoxyCompactList}\small\item\em \-Method that receives the message. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Private \-Slots}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classchat_window_ad2ff9f9d1648cf0a724caa09c4750bae}{
void \hyperlink{classchat_window_ad2ff9f9d1648cf0a724caa09c4750bae}{on\-\_\-send\-Button\-\_\-clicked} ()}
\label{classchat_window_ad2ff9f9d1648cf0a724caa09c4750bae}

\begin{DoxyCompactList}\small\item\em \-Slot that determines if the user has clicked the send button. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Private \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classchat_window_a3c83a26de5daf6899a91769b13d945a6}{\-Out\-Put\-Chat} (\-Q\-String, \-Q\-String)
\begin{DoxyCompactList}\small\item\em \-Method that saves chat conversations to a text file. \end{DoxyCompactList}\item 
\hypertarget{classchat_window_a4ed0c88d7631ed091ca17598882f66d5}{
bool {\bfseries event\-Filter} (\-Q\-Object $\ast$ob, \-Q\-Event $\ast$e)}
\label{classchat_window_a4ed0c88d7631ed091ca17598882f66d5}

\end{DoxyCompactItemize}
\subsection*{\-Private \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classchat_window_a649ea102823f52c2d861b610d9f0d3b2}{
\-Ui\-::chat\-Window $\ast$ {\bfseries ui}}
\label{classchat_window_a649ea102823f52c2d861b610d9f0d3b2}

\item 
\hypertarget{classchat_window_abec29f9b70797c7f2d548e0507b4379c}{
\-Q\-String \hyperlink{classchat_window_abec29f9b70797c7f2d548e0507b4379c}{to\-User}}
\label{classchat_window_abec29f9b70797c7f2d548e0507b4379c}

\begin{DoxyCompactList}\small\item\em to\-User variable \end{DoxyCompactList}\item 
\hypertarget{classchat_window_a8241d50ed9469212e8952044fce389d4}{
\-Q\-String \hyperlink{classchat_window_a8241d50ed9469212e8952044fce389d4}{from\-User}}
\label{classchat_window_a8241d50ed9469212e8952044fce389d4}

\begin{DoxyCompactList}\small\item\em from\-User variable \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-The \hyperlink{classchat_window}{chat\-Window} helper methods. 

\subsection{\-Member \-Function \-Documentation}
\hypertarget{classchat_window_a05f81085133d6bcf825ee466512e25a7}{
\index{chat\-Window@{chat\-Window}!get\-From\-User@{get\-From\-User}}
\index{get\-From\-User@{get\-From\-User}!chatWindow@{chat\-Window}}
\subsubsection[{get\-From\-User}]{\setlength{\rightskip}{0pt plus 5cm}\-Q\-String chat\-Window\-::get\-From\-User (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classchat_window_a05f81085133d6bcf825ee466512e25a7}


\-Method that gets the from user information. 

\begin{DoxyReturn}{\-Returns}
\-The to username 
\end{DoxyReturn}
\hypertarget{classchat_window_abc9d08c2a56665988fa5003d91ebad16}{
\index{chat\-Window@{chat\-Window}!get\-Os\-Type@{get\-Os\-Type}}
\index{get\-Os\-Type@{get\-Os\-Type}!chatWindow@{chat\-Window}}
\subsubsection[{get\-Os\-Type}]{\setlength{\rightskip}{0pt plus 5cm}\-Q\-String chat\-Window\-::get\-Os\-Type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classchat_window_abc9d08c2a56665988fa5003d91ebad16}


\-Method that gets the operating system information from the user. 

\begin{DoxyReturn}{\-Returns}
\-Operating \-System type 
\end{DoxyReturn}
\hypertarget{classchat_window_a0cc2ee4af6d8408d3e1d2382bc8ee0de}{
\index{chat\-Window@{chat\-Window}!get\-To\-User@{get\-To\-User}}
\index{get\-To\-User@{get\-To\-User}!chatWindow@{chat\-Window}}
\subsubsection[{get\-To\-User}]{\setlength{\rightskip}{0pt plus 5cm}\-Q\-String chat\-Window\-::get\-To\-User (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classchat_window_a0cc2ee4af6d8408d3e1d2382bc8ee0de}


\-Method that gets the to user information. 


\begin{DoxyParams}{\-Parameters}
{\em \-To\-User} & \-The username receiving the message \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
\-The to user of the message 
\end{DoxyReturn}
\hypertarget{classchat_window_a1ed506729bd803adf6771814dd2cca64}{
\index{chat\-Window@{chat\-Window}!message\-Sent@{message\-Sent}}
\index{message\-Sent@{message\-Sent}!chatWindow@{chat\-Window}}
\subsubsection[{message\-Sent}]{\setlength{\rightskip}{0pt plus 5cm}void chat\-Window\-::message\-Sent (
\begin{DoxyParamCaption}
\item[{\-Q\-String}]{, }
\item[{\-Q\-String}]{, }
\item[{\-Q\-String}]{, }
\item[{\-Q\-String}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
\label{classchat_window_a1ed506729bd803adf6771814dd2cca64}


\-Signal that sends the message. 


\begin{DoxyParams}{\-Parameters}
{\em from\-User} & \-The from user of the message \\
\hline
{\em to\-User} & \-The to user of the message \\
\hline
{\em message} & \-The chat message \\
\hline
{\em time} & \-The time of the message being sent \\
\hline
\end{DoxyParams}
\hypertarget{classchat_window_a3c83a26de5daf6899a91769b13d945a6}{
\index{chat\-Window@{chat\-Window}!\-Out\-Put\-Chat@{\-Out\-Put\-Chat}}
\index{\-Out\-Put\-Chat@{\-Out\-Put\-Chat}!chatWindow@{chat\-Window}}
\subsubsection[{\-Out\-Put\-Chat}]{\setlength{\rightskip}{0pt plus 5cm}void chat\-Window\-::\-Out\-Put\-Chat (
\begin{DoxyParamCaption}
\item[{\-Q\-String}]{name, }
\item[{\-Q\-String}]{message}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classchat_window_a3c83a26de5daf6899a91769b13d945a6}


\-Method that saves chat conversations to a text file. 


\begin{DoxyParams}{\-Parameters}
{\em name} & \-The name of the file to save \\
\hline
{\em message} & \-The conversation message \\
\hline
\end{DoxyParams}
\hypertarget{classchat_window_a782ec79ac1f496c74958d7cab7d3aa1b}{
\index{chat\-Window@{chat\-Window}!receive\-Message@{receive\-Message}}
\index{receive\-Message@{receive\-Message}!chatWindow@{chat\-Window}}
\subsubsection[{receive\-Message}]{\setlength{\rightskip}{0pt plus 5cm}void chat\-Window\-::receive\-Message (
\begin{DoxyParamCaption}
\item[{\-Q\-String}]{message, }
\item[{\-Q\-String}]{from\-User, }
\item[{\-Q\-String}]{time}
\end{DoxyParamCaption}
)}}
\label{classchat_window_a782ec79ac1f496c74958d7cab7d3aa1b}


\-Method that receives the message. 


\begin{DoxyParams}{\-Parameters}
{\em message} & \-The chat message \\
\hline
{\em from\-User} & \-The from user \\
\hline
{\em time} & \-The time of the message \\
\hline
\end{DoxyParams}
\hypertarget{classchat_window_a52a956b9b93fcd65d7addd2c66345983}{
\index{chat\-Window@{chat\-Window}!setfrom\-User@{setfrom\-User}}
\index{setfrom\-User@{setfrom\-User}!chatWindow@{chat\-Window}}
\subsubsection[{setfrom\-User}]{\setlength{\rightskip}{0pt plus 5cm}void chat\-Window\-::setfrom\-User (
\begin{DoxyParamCaption}
\item[{\-Q\-String}]{from\-User}
\end{DoxyParamCaption}
)}}
\label{classchat_window_a52a956b9b93fcd65d7addd2c66345983}


\-Method that sets the from user attribute. 


\begin{DoxyParams}{\-Parameters}
{\em username} & \-The username of the from user \\
\hline
\end{DoxyParams}
\hypertarget{classchat_window_a982f117c47864e0fe3cc3bd61032fe4b}{
\index{chat\-Window@{chat\-Window}!set\-To\-User@{set\-To\-User}}
\index{set\-To\-User@{set\-To\-User}!chatWindow@{chat\-Window}}
\subsubsection[{set\-To\-User}]{\setlength{\rightskip}{0pt plus 5cm}void chat\-Window\-::set\-To\-User (
\begin{DoxyParamCaption}
\item[{\-Q\-String}]{to\-User}
\end{DoxyParamCaption}
)}}
\label{classchat_window_a982f117c47864e0fe3cc3bd61032fe4b}


\-Method that sets the to user attribute. 


\begin{DoxyParams}{\-Parameters}
{\em username} & \-The username of the to user \\
\hline
\end{DoxyParams}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
/\-Users/plamontagna/\-Documents/spa-\/cs340project/im\-\_\-client\-\_\-v2/\hyperlink{chatwindow_8h}{chatwindow.\-h}\item 
/\-Users/plamontagna/\-Documents/spa-\/cs340project/im\-\_\-client\-\_\-v2/\hyperlink{chatwindow_8cpp}{chatwindow.\-cpp}\item 
/\-Users/plamontagna/\-Documents/spa-\/cs340project/im\-\_\-client\-\_\-v2/chatwindow.\-cpp.\-B\-A\-C\-K\-U\-P.\-2896.\-cpp\item 
/\-Users/plamontagna/\-Documents/spa-\/cs340project/im\-\_\-client\-\_\-v2/chatwindow.\-cpp.\-B\-A\-S\-E.\-2896.\-cpp\item 
/\-Users/plamontagna/\-Documents/spa-\/cs340project/im\-\_\-client\-\_\-v2/chatwindow.\-cpp.\-L\-O\-C\-A\-L.\-2896.\-cpp\item 
/\-Users/plamontagna/\-Documents/spa-\/cs340project/im\-\_\-client\-\_\-v2/chatwindow.\-cpp.\-R\-E\-M\-O\-T\-E.\-2896.\-cpp\end{DoxyCompactItemize}
